import request from '@/utils/request.js'


export const addstaffservice = (data) => {  
    return request.post('/addChance', data);
}
export const deletestaffservice = (data) => {
    return request.delete('/deleteChance?id=' + data)
}
export const updatestaffservice = (data) => {
    return request.put('/updateChance', data)
}
export const getAllservice = (data) => {
    
    return request.post('/getChance', data);
}

export const getAllChanceservice = (data) => {
    
    return request.get('/getAllChance', data);
}



export const getAllChanceByClientIdservice = (data) => {
    
    return request.post('/getAllChanceByClientId', data);
}
export const findByClueservice = (data) => {
    
    return request.post('/findByClue', data);
}

